//
//  NGSUtils.h
//  demo_3
//
//  Created by 才 陈 on 12-3-9.
//  Copyright (c) 2012年 sjtu. All rights reserved.
//

#import "cocos2d.h"
#import <Foundation/Foundation.h>
#import "commons.h"

@interface NGSUtils : NSObject

+(NSString *) comment:(int)score;
+(CGSize) calculateHeightOfText:(NSString*)text Font:(UIFont*)font Width: (float)width BreakMode:(UILineBreakMode)lineBreakMode;

+(NSDictionary *) loadProperties:(NSString *)path :(BOOL)reload;

+(void) printPoint:(CGPoint)p startWith:(NSString *)startInfo;
+(void) printRect:(CGRect)r startWith:(NSString *)startInfo;
+(BOOL) isString:(NSString *)str1 Contains:(NSString *)str2;
@end
